home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="utf-8" ?> <ME_BRICK GUID="{B677DD9C-6C50-4784-8716-9500016543C4}" Name="RtTex2D" GUIName="Tex2D" Description="Sample the 2D texture at given texture coordinates [tex2d]"> <ME_BRICK_INPUTPARAM GUID="{4A5B7896-7616-44A9-B29A-CE58E01D48AB}" Name="Sampler2D" Type="RtSampler2D"/> <ME_BRICK_INPUTPARAM GUID="{B4457FF5-8152-4F76-AB17-5A52D35CA658}" Name="vTexCoord3" Type="RtFloat3"/> <ME_BRICK_OUTPUTPARAM GUID="{3BFA8A8A-FE5A-4F6F-B77A-5F09BD538672}" Name="vTextureColor4" Type="RtFloat4"/> <ME_BRICK_CODE><![CDATA[ void RtTex2D(in RtSampler2D Sampler2D, in RtFloat3 vTexCoord3, out RtFloat4 vTextureColor4) { vTextureColor4 = rtx_Tex2D(Sampler2D, vTexCoord3.xy); } ]]></ME_BRICK_CODE> </ME_BRICK>